$color-primary: #409EFF;
$color-sub: #ABDCFF;

/* 改变主题色变量 */
$--color-primary: $color-primary;

/* 改变 icon 字体路径变量，必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "~element-ui/packages/theme-chalk/src/index";

.home {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  .header {
    height: 60px;
    line-height: 60px;
    background: $color-primary;
    color: #fff;
    .userinfo {
      text-align: right;
      padding-right: 35px;
      float: right;
      .userinfo-inner {
        cursor: pointer;
        color: #fff;
        img {
          width: 40px;
          height: 40px;
          border-radius: 20px;
          margin: 10px 0px 10px 10px;
          float: right;
        }
      }
    }
    .logo {
      //width:230px;
      height: 60px;
      font-size: 22px;
      text-align: center;
      border-right: 1px solid rgba(238, 241, 146, 0.3);
      img {
        width: 40px;
        float: left;
        margin: 10px 10px 10px 18px;
      }
      .txt {
        color: #fff;
      }
    }
    .logo-width {
      width: 230px;
    }
    .logo-collapse-width {
      width: 60px
    }
    .tools {
      padding: 0px 23px;
      width: 14px;
      height: 60px;
      line-height: 60px;
      cursor: pointer;
    }
  }
  .main {
    display: flex;
     //background: #324057;
    position: absolute;
    top: 60px;
    bottom: 0px;
    overflow: hidden;
    aside {
      flex: 0 0 230px;
      width: 230px;
      // position: absolute;
      // top: 0px;
      // bottom: 0px;
      .el-menu {
        width: 100% !important;
        height: 100%;
      }
      .el-submenu .el-menu-item {
        min-width: 0px !important;
      }
      .collapsed {
        width: 60px;
        .item {
          position: relative;
        }
        .submenu {
          position: absolute;
          top: 0px;
          left: 60px;
          z-index: 99999;
          height: auto;
          display: none;
        }
        .submenu-bg {
          background-color: #eef1f6;
        }
      }
    }
    .menu-collapsed {
      flex: 0 0 60px;
      width: 60px;
    }
    .menu-expanded {
      flex: 0 0 230px;
      width: 230px;
    }
    .content-container {
      // background: #f1f2f7;
      flex: 1;
      // position: absolute;
      // right: 0px;
      // top: 0px;
      // bottom: 0px;
      // left: 230px;
      overflow-y: scroll;
      padding: 20px;
      .breadcrumb-container {
        //margin-bottom: 15px;
        .title {
          width: 200px;
          float: left;
          color: #475669;
        }
        .breadcrumb-inner {
          float: right;
        }
      }
      .content-wrapper {
        background-color: #fff;
        box-sizing: border-box;
      }
    }
  }
}

//.login {
//  width: 100%;
//  height: 100%;
//  display: flex;
//  justify-content: center;
//  align-items: center;
//  //background: #ccc;
//  background: linear-gradient(to bottom, $color-sub, $color-primary);
//  .login-container {
//    /*box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.06), 0 1px 0px 0 rgba(0, 0, 0, 0.02);*/
//    -webkit-border-radius: 5px;
//    border-radius: 5px;
//    -moz-border-radius: 5px;
//    background-clip: padding-box;
//    width: 350px;
//    padding: 35px 35px 15px 35px;
//    background: #fff;
//    border: 1px solid #eaeaea;
//    box-shadow: 20px 20px 0 $color-sub;
//    opacity: 0.8;
//    .title {
//      margin-bottom: 25px;
//      text-align: center;
//      color: $color-primary;
//      font-size: 36px;
//    }
//    .remember {
//      margin: 0px 0px 35px 0px;
//    }
//    input:-webkit-autofill {
//      -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;//关于解决输入框背景颜色
//      -webkit-text-fill-color: #606266 !important;//关于接输入框文字颜色
//    }
//  }
//}

.checkIcon {
  color:#67C23A;
  font-size: 20px;
  line-height: 1.5;
}

.closeIcon {
  color:#F56C6C;
  font-size: 20px;
  line-height: 1.5;
}
